﻿using OnHook.Business.Dto.Goods;
using OnHook.Business.Vo.Goods;
using OnHook.Framework.Pager;

namespace OnHook.Business.IServices
{
    /// <summary>
    /// 商品服务
    /// </summary>
    public interface IGoogdsService
    {
        /// <summary>
        /// 搜索商品
        /// </summary>
        /// <param name="searchDto"></param>
        /// <returns></returns>
        Task<PagedList<GoodsListVo>> SearchGoodsAsync(GoodsPageSearchDto searchDto);

        /// <summary>
        /// 查询列表
        /// </summary>
        /// <param name="searchDto"></param>
        /// <returns></returns>
        Task<List<GoodsListVo>> SearchGoodsAsync(GoodsSearchDto searchDto);
    }
}
